.index{
    width: 100%;
    height: 100%;
    /* border: 2px solid ; */
}
.header{
    width: 100%;
    height: 80px;
    display: flex;
    background-color: #f7f7f7;
    /* background-color: #e19044; */
    cursor: pointer;
}
.header>.nav{
    width: 100%;
    display: flex;
}
.steamName{
    color: gray;
}
.nav>div{
    width: 150px;
    margin-top: 10px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    color: gray;
    border-radius: 10px;
}
/* logo */
.nav>div:nth-child(1){
    margin-top: 18px;
    width: auto;
    height:80px;
    /* border: 2px solid ; */
    margin-left: 10%;
}
.nav>div:nth-child(1)>img{
    width: 100%;
    height: 50%;
    object-fit: contain;
}

.nav>.userLogin{
    margin-left: auto;
}
.nav>div:nth-child(n+2):hover{
    transition: all 1s;
    text-shadow: 0 0 4px gray;
    color: dodgerblue;
    text-shadow: 1px 0 4px rgba(248, 243, 138, 0.813);
}
/* 用户中心 */
.userCenter{
    margin-left: auto;
    width: 200px;
    box-shadow: 0 0 2px #ccc;
    position: relative;
    transition: all .6s;
}
/* 用户中心：hover 让下拉菜单生成 */
.userCenter:hover .secondMenu{
    transition: all .6s;
    height: 180px;
    padding: 10px;
}
/* 下拉菜单的配置 */
.secondMenu{
    position: absolute;
    left: 0%;
    width: 85%;
    height: 0;
    /* border: 2px solid ; */
    z-index: 1000;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.747);
    transition: all .6s;
}
/* 下拉菜单的每一项div */
.secondMenu>div{
    display: none;
    width: 100%;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all .6s;
}
/* 下拉菜单的每一项：hover显示出来 */
.userCenter:hover .secondMenu>div{
    display: block;
}
/* 下拉菜单：hover改变颜色 */
.secondMenu>div:hover{
    color: coral;
    border: 2px solid white;
}
.banners{
    width: 100%;
    height: auto;
    border: 2px solid white;
}
.main{
    margin-left: 0px;
    width: 100%;
    height: auto;
    /* border: 2px solid ; */
    padding-bottom: 50px;
}
/* 标题 */
.title{
    width:auto;
    max-width: 200px;
    height: 60px;
    line-height: 60px;
    font-size: 30px;
    font-weight: bold;
    color: dodgerblue;
    text-align: left;
    text-indent: 10px;
    margin-left: 80px;
    margin-bottom: 10px;
    border-bottom: 4px solid skyblue;
}
/* 系统信息公示 */
.main>.news{
    width: 90%;
    height: auto;
    margin-left: 5%;
    /* box-shadow: 0 0 4px #ccc; */
    border-radius: 10px;
    padding: 20px;
    text-indent: 40px;
    color: rgb(83, 81, 81);
    font-size: 20px;
    letter-spacing: 3px;
    background-color: #f7f7f79e;
    cursor: pointer;
}
.news>div{
    background-color: white;
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: flex;
    color: gray;
    /* border: 2px solid ; */
}
.news>div:nth-child(2n){
    background-color: #cccccc18;
    color: rgb(109, 172, 236);
    border-radius: 3px;
}
.text{
    width: 70%;
    line-height: 40px;
    overflow:hidden; 
    text-overflow:ellipsis;
    white-space:nowrap;
    /* border: 2px solid ; */
}
.text:hover{
    color: dodgerblue;
}
.time{
    width: auto;
    height: 100%;
    margin-left: auto;
    margin-right: 10px;
    font-size: 15px;
    color: gray;
    line-height: 40px;
    /* border: 2px solid ; */
}
.time:hover{
    color: dodgerblue;
}
/* 投票区 */
.main>.voteArea{
    width: 100%;
    height: auto;
    /* border: 2px solid ; */
}
/* 分类 */
.voteArea>.voteType{
    width: 100%;
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    font-weight: bold;
    color: gray;
    text-align: left;
    text-indent: 20px;
    margin-left: 80px;
}
/* 投票分类盒子 */
.voteArea>.voteTypeBox{
    width: 90%;
    height: auto;
    margin-left: 5%;
    /* box-shadow: 0 0 4px #ccc; */
    border-radius: 10px;
    padding: 20px;
    color: rgb(83, 81, 81);
    letter-spacing: 3px;
    display: flex;
    justify-content:flex-start;
    flex-wrap: wrap;
    gap: 50px;
    /* border: 2px solid ; */
}
.voteTypeBox>.voteDiv{
    width: 22%;
    height: 210px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 4px #ccc;
    background-color: #f1f9f4;
    /* border: 2px solid ; */
    /* color: dodgerblue; */
    cursor: pointer;
}
.voteDiv:hover{
    transition: all .5s;
    box-shadow: 10px 0 4px gray;
}
.voteDiv>div{
    width: 90%;
    text-align: center;
    
    /* border: 2px solid ; */
}
.voteDiv>div:nth-child(1){
    height: 60px;
    line-height:60px;
    font-size: 25px;
    font-weight: bold;
}
.voteDiv>div:nth-child(2){
    font-size: 22px;
    height: 60px;
    line-height: 60px;
}
.voteDiv>div:nth-child(3){
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    color: rgb(12, 132, 92);
}
.el-button{
    margin-top: 5px;
    width: 180px;
}
/* 底部 */
.footer{
    width: 100%;
    height: 300px;
    background-color: rgba(8, 26, 34, 0.7);
    display: flex;
    color: #ccc;
    justify-content: center;
}
.footer_center{
    width: 40%;
    height: 50%;
    display: flex;
    flex-wrap: wrap;
}
.footer_center>div{
    padding-top: 50px;
    width: 20%;
    color: white;
}
/* 悬浮 */
.fixed{
    position: fixed;
    right: 5%;
    bottom: 5%;
    width: 80px;
    height: 70px;
    /* border: 2px solid ; */
    z-index: 1000;
    cursor: pointer;
}
.fixed>img{
    width: 100%;
    height: 100%;
    
}
.fixed::before{
    position: absolute;
    content: '积分商城';
    width: 80px;
    height: 30px;
    color: white;
    top: 65%;
    font-size: 13px;
    z-index: 1000;
    text-align: center;
}

.payment{
    position: fixed;
    top: 0%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    place-items: center;
    z-index: 1000;
    background-color: rgba(200, 200, 200, 0.9);
}
.payment>div{
    width: 350px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    z-index: 1001;
}
div /deep/ form{
    margin-top: -40px;
    padding-top: 10px;
    padding-right: 10px;
    margin-bottom: -40px;
    margin-left: 0px;
    width: 100% !important;
    height: 100% !important; 
    background-color: white;
    text-align: center !important;
    
  }
  div /deep/ .el-dialog__header{
      text-align: center !important;
  }
  div /deep/ .el-dialog__title{
    letter-spacing: 4px;
  }
  div /deep/ .el_tale_column_class>.cell:nth-child(1){
      height: auto ;
      /* border: 2px solid red ; */
      display: -webkit-box; /*将对象转为弹性盒模型展示*/
      -webkit-box-orient: vertical; /*设置弹性盒模型子元素的排列方式*/
      -webkit-line-clamp: 4; /*限制文本行数*/
      overflow: hidden; /*超出隐藏*/
  
  }
  div /deep/ .el-scrollbar__view{
      display: block !important;
  }